package edu.gyc.hivhr.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author ls
 * @since 2019-12-03
 */
@RestController

public class HrController {

    @GetMapping("/hello")
    public Object hello() {
        return "hello";
    }

    @GetMapping("/employee/basic/hello")
    public Object hello1() {
        return "/employee/basic/hello";
    }

    @GetMapping("/employee/advanced/hello")
    public Object hello2() {
        return "/employee/advanced/hello";
    }

}

